<template>
<div class="">
    <div class="pr10">
        <div class="analyItem">
            <p class="analyItemTit tx-center">状态</p>
            <div class="analyItemCon">
                <span class="circlemark circlemark-lightRed">差</span>
            </div>
        </div>
    </div>
    <div class="thinScroll pr10" v-scrollHeight="84">
        <router-link tag="div" :to="routerPath('complaintComplaint')" class="analyItem anItemBor" active-class="anItemBor-active">
            <p class="analyItemTit tx-center">投诉</p>
            <div class="analyItemCon">
                <p class="col-md-4">
                    <span class="pr8 cLightGray">投诉率</span>
                    <span>20%</span>
                </p>
                <p class="col-md-4">
                    <span class="pr8 cLightGray">标准</span>
                    <span>0%</span>
                </p>
                <p class="col-md-4">
                    <span class="pr8 cLightGray">差额</span>
                    <span>20%</span>
                </p>
                <span class="circlemark circlemark-lightRed">差</span>
            </div>
        </router-link>
        <div class="analyItem">
            <p class="analyItemTit tx-center">投订</p>
            <div class="analyItemCon">
                <p class="col-md-4">
                    <span class="pr8 cLightGray">投诉订单</span>
                    <span>5</span>
                </p>
                <p class="col-md-4">
                    <span class="pr8 cLightGray">完成率</span>
                    <span>20%</span>
                </p>
            </div>
        </div>
    </div>
    <div class="pr10">
        <router-link tag="div" :to="routerPath('complaintProcessing')" class="analyItem anItemBor" active-class="anItemBor-active">
            <p class="analyItemTit tx-center">处理</p>
            <div class="analyItemCon">

            </div>
        </router-link>
    </div>
</div>
</template>
<script>
export default {
    data () {
        return {
            parmasExample: {
                name: '',
                age: ''
            }
        }
    },
    created () {

    },
    methods: {
        // 路由跳转路径拼接
        routerPath (path) {
            return this.$route.matched[1].path + '/' + path
        },
        // 直接进行路由跳转路径
        routerPush (path) {
            this.$router.push(this.$route.matched[1].path + '/' + path)
        }
    }
}
</script>
